import React from "react";
import ReactDOM from "react-dom"
import store from './redux/store'
import App from './App'
import { Provider } from "react-redux";

ReactDOM.render(
  // 此处需要用provider包裹App，目的是让App所有的后代容器组件都能够接收到store
  <Provider store={store}>
    <App/>
  </Provider>, 
  document.getElementById('root')
)


